Mage Lock
(Alteration, Evocation)

Range:  0
Components:  V, S, M
Duration:  Special
Casting Time:  1 turn
Area of Effect:  Special
Saving Throw:  None

This powerful dweomer causes the sealing of a thing with far greater effectiveness than that caused by a hold portal or a wizard lock spell. The mage lock can only be cast on certain things: boxes or chests made of iron, steel, or harder metals, or on doors made of the same and set into a wall at least as hard as hard stone.
When the mage lock is cast, the wizard chooses a single person - other than himself - who is to be able to open the sealed box, chest, or door. When the spell is done the item is sealed and only the individual who was named in the casting will be able to open it. The item will be unaffected by knock spells, chimes of opening, or similar magics, and will have a magic resistance of 25% with regard to other magics, and a +2 on all saving throws.
If the person named in the spell should die before the item is opened - for the spell holds only until the item is opened once - then the item cannot be opened by anyone until the caster of the spell is dead. If the item has not been opened by the time both the wizard and the person named die, the mage lock dissipates.
The material components of this spell are: a diamond, worth no less than 5000 gp, 4 small iron cubes, and a drop of blood from the person to be named in the spell.

